home *** CD-ROM | disk | FTP | other *** search
/ The Utilities Experience / The Utilities Experience - Volume 1.iso / software / misc / o-z / x-windows / mesa-amiwin / demos / makefile < prev    next >
Encoding:
Makefile  |  1995-10-27  |  2.3 KB  |  100 lines

  1. # Makefile for demo programs
  2.  
  3. # Mesa 3-D graphics library
  4. # Version:  1.2
  5. # Copyright (C) 1995  Brian Paul  (brianp@ssec.wisc.edu)
  6. #
  7. # This library is free software; you can redistribute it and/or
  8. # modify it under the terms of the GNU Library General Public
  9. # License as published by the Free Software Foundation; either
  10. # version 2 of the License, or (at your option) any later version.
  11. #
  12. # This library is distributed in the hope that it will be useful,
  13. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. # Library General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU Library General Public
  18. # License along with this library; if not, write to the Free
  19. # Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20.  
  21.  
  22. # $Id: Makefile,v 1.11 1995/10/27 20:58:04 brianp Exp $
  23.  
  24. # $Log: Makefile,v $
  25. # Revision 1.11  1995/10/27  20:58:04  brianp
  26. # added polygon offset demo
  27. #
  28. # Revision 1.10  1995/10/19  18:39:07  brianp
  29. # added gamma demo
  30. #
  31. # Revision 1.9  1995/10/12  18:32:00  brianp
  32. # added osdemo target
  33. #
  34. # Revision 1.8  1995/08/01  21:00:14  brianp
  35. # use $(TK_LIB) and $(AUX_LIB), added gears and shadow demos
  36. #
  37. # Revision 1.7  1995/05/01  15:25:20  brianp
  38. # clean up and reorganize
  39. #
  40. # Revision 1.6  1995/04/20  13:39:05  brianp
  41. # added glxdemo, glxpixmap
  42. # removed accum, prim, stencil
  43. #
  44. # Revision 1.5  1995/03/07  14:27:01  brianp
  45. # added realclean target
  46. #
  47. # Revision 1.4  1995/03/01  21:08:51  brianp
  48. # replaced 'make' with $(MAKE)
  49. #
  50. # Revision 1.3  1995/02/24  16:48:44  brianp
  51. # fixed netbsd CFLAGS
  52. #
  53. # Revision 1.2  1995/02/24  16:26:26  brianp
  54. # added netbsd target
  55. #
  56. # Revision 1.1  1995/02/24  16:23:53  brianp
  57. # Initial revision
  58. #
  59.  
  60.  
  61. ##### MACROS #####
  62.  
  63. INCDIR = ../include
  64.  
  65. GL_LIBS = -L../lib -lMesaaux -lMesatk -lMesaGLU -lMesaGL -lm $(XLIBS)
  66.  
  67. LIB_DEP = ../lib/$(GL_LIB) ../lib/$(GLU_LIB) ../lib/$(TK_LIB) ../lib/$(AUX_LIB)
  68.  
  69. PROGS = bounce gamma gears glxdemo glxpixmap isosurf offset osdemo shadow \
  70.     spin test0 wave xdemo
  71.  
  72.  
  73.  
  74. ##### RULES #####
  75.  
  76. .SUFFIXES:
  77. .SUFFIXES: .c
  78.  
  79. .c: $(LIB_DEP)
  80.     $(CC) -I$(INCDIR) $(CFLAGS) $< $(GL_LIBS) -o $@
  81.  
  82.  
  83.  
  84. ##### TARGETS #####
  85.  
  86. default:
  87.     @echo "Specify a target configuration"
  88.  
  89. clean:
  90.     -rm *.o *~
  91.  
  92. realclean:
  93.     -rm $(PROGS)
  94.     -rm *.o *~
  95.  
  96. targets: $(PROGS)
  97.  
  98. include ../Make-config
  99.  
  100.